package store

import "cgs-server/server/model"

type BimStore interface {
	// Save 保存模型信息
	Save(mdl *model.BimModel, user *model.User) error

	// Get 根据 fileId 查找文件
	Get(mdl *model.BimModel, user *model.User) (*model.BimModel,error)

	// Update 更新 模型信息
	Update(mdl *model.BimModel, user *model.User) error

	// Delete 删除模型文件
	Delete(mdl *model.BimModel, user *model.User) error

	// List 列表
	List(mdl *model.BimModel, user *model.User) ([]*model.BimModel, error)
}
